define(function(require, exports, module) {
	require('jquery');
	require('easing');
	require('jcookie');

	var host = seajs.data.devInterface;
	var model = function(){
		window.loginBL = window.loginBL ? window.loginBL : false;
	};
	model.prototype ={
		login:  host + 'login', //登录接口，获取token
		login_exit: host + 'login/exit', //登出接口
		login_check: host + 'login/check', //检测token
		//=====================================================================
		dc_list: host + 'dc/list', //获取数据中心接口
		dc_select: host + 'dc/select', //选择数据中心接口
		//=====================================================================
		analysis_progress: host + 'analysis/progress', //项目状态分配饼图
		analysis_top: host + 'analysis/top', //排名前5的项目
		analysis_potusage: host + 'analysis/pot-usage', //pot的综合使用情况
		//=====================================================================
		history_command: host + 'history/command', //历史命令的查询接口
		//=====================================================================
        pool_list: host + 'pool/list', //正确的接口名是pool
        pool_create: host + 'pool/create', //添加pool
		pool: host + 'pool', //正确的接口名是pool，后面加参数/name，取得详细信息
		//=====================================================================
		pot_auto_create: host + 'pot/auto-create', //自动添加主机接口
		pot_hand_create: host + 'pot/hand-create', //手动添加主机接口
		pot_source_list: host + 'pot/source/list', //获取主机提供源
		pot_source_add: host + 'pot/source/add', //添加主机提供源
		//=====================================================================
		intranet_list: host + 'intranet/list', //内网list显示接口 
		intranet: host + 'intranet', //添加内网接口 
		extranet_list: host + 'extranet/list', //外网list显示接口 
		extranet: host + 'extranet', //添加外网接口 
		//=====================================================================
		repo: host + 'repo',
		repo_list: host + 'repo/list', //组件list显示接口
		//=====================================================================
		project: host + 'project', //项目接口, 后面可以带很多参数
		project_list: host + 'project/list', //项目list显示接口
		project_create: host + 'project/create', //项目create接口
	};

	module.exports = new model();

});

